package com.hrhx.springboot.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class CnareaController {
	@RequestMapping("/cnarea")
    public String cnarea(ModelMap map) {
        // 加入一个属性，用来在模板中读取
        map.addAttribute("host", "地理区域五级联动");
        return "cnarea";  
    }
}
